package com.daxt.model.service.archives.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.daxt.model.entity.BaseEntity;
import com.daxt.model.xml.oa.AccessoryXml;
import com.daxt.model.xml.oa.StepXML;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@EqualsAndHashCode(callSuper = false)
@XmlRootElement(name = "基本信息")
@XmlAccessorType(XmlAccessType.FIELD)
@Accessors(chain = true)
@ApiModel(value = "档案案件接收", description = "档案案件接收")
@TableName("archives_doc_receive")
public class ArchivesDocReceive extends BaseEntity implements Serializable{

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;


	@XmlElement(name = "归档标识ID")
	private String filingId;
	@XmlElement(name = "归档包类型")
	private String filingPageType;
	@XmlElement(name = "电子文件数量")
	private String docCount;
	@XmlElement(name = "电子文件总大小")
	private String docTotalSize;
	@XmlElement(name = "立档单位名称")
	private String buildUnitName;
	@XmlElement(name = "电子文件号")
	private String docNum;
	@XmlElement(name = "年度")
	private String year;
	@XmlElement(name = "题名")
	private String title;
	@XmlElement(name = "文号")
	private String recordNum;
	@XmlElement(name = "责任者")
	private String lott;
	@XmlElement(name = "日期")
	private String date;
	@XmlElement(name = "主送")
	private String lordSent;
	@XmlElement(name = "抄送")
	private String duplicateSent;
	@XmlElement(name = "密级")
	private String secret;
	@XmlElement(name = "页数")
	private String pages;
	@XmlElement(name = "办理状态")
	private String processState;
	@XmlElement(name = "归档人")
	private String archivePerson;
	@XmlElement(name = "归档时间")
	private String archiveTime;
	@XmlElement(name = "归档部门")
	private String archiveDept;
	@XmlElement(name = "文件来源")
	private String source;

	private Long docId;

	@TableField(exist = false)
	@XmlElement(name = "附件")
	private List<AccessoryXml> accessory;

	@TableField(exist = false)
	@XmlElement(name = "办理环节")
	private List<StepXML> step;



}
